|
Command: |
Generate a VISA CVK pair. Output the key pair encrypted under a variant of LMK pair 14-15. |
|
Field |
Length & Type |
Details |
|
COMMAND MESSAGE |
||
|
Message header |
m A |
(Subsequently returned to the Host unchanged). |
|
Command code |
2 A |
Value AS. |
|
Delimiter |
1 A |
Optional. If present the following three fields must be present. Value “;”. If an option is not required by the command fill with a valid value or 0. |
|
Reserved |
1 A |
Optional. If present must be 0. |
|
Key scheme LMK |
1 A |
Optional. If present must be 0 or U. |
|
Key check value type |
1 A |
Optional. Key check value calculation method 0 - KCV backwards compatible. Not available for keys generated using new schemes 1 - KCV 6H. |
|
End message delimiter |
1 C |
Optional. Must be present if a message trailer is present. Value X’19. |
|
Message trailer |
n A |
Optional. Maximum length 32 characters. |
|
RESPONSE MESSAGE |
||
|
Message header |
m A |
Returned to the Host unchanged. |
|
Response code |
2 A |
Value AT. |
|
Error code |
2 N |
00 : No errors 13 : LMK error; report to supervisor 15 : Error in input data |
|
CVK Key scheme = 0 or not specified |
||
|
CVK A |
16 H |
CVK A encrypted under variant 4 of LMK pair 14-15. |
|
CVK B |
16 H |
CVK B encrypted under variant 4 of LMK pair 14-15. |
|
CVK Key scheme not 0 |
||
|
CVK A/B |
1A + 32H |
CVK A/B encrypted under variant 4 of LMK pair 14-15. |
|
KCV Type = 0 or not specified |
||
|
CVK A check value |
6 H |
The CVK A check value. |
|
CVK B check value |
6 H |
The CVK B check value. |
|
For KCV Type =1 |
||
|
CVK A/B check value |
6 H |
The CVK A/B check value |
|
End message delimiter |
1 C |
Present only if present in the command message. Value X’19. |
|
Message trailer |
n A |
Present only if present in the command message. Maximum length 32 characters. |